<template>
  <view v-if="list.permission" class="custom-item flex">
    <view class="flex flex-col flex-justify-around flex-items-center">
      <image :src="list.icon" class="w-64rpx h-64rpx"></image>
      <text class="mt-16rpx text-#727687 text-24rpx">{{ list.title }}</text>
    </view>
  </view>
</template>

<script name="customItem" setup>
const props = defineProps({
  list: {
    type: Object,
    default: () => {}
  }
});
</script>

<style lang="scss" scoped>
.custom-item {
  padding: 30rpx 30rpx 0;
}
</style>
